﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace equinox_proto
{
    class EquinoxPanel:Panel
    {
        protected EquinoxPanel(Form padre){
            this.Location = new System.Drawing.Point(15, 230);
            this.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
            | System.Windows.Forms.AnchorStyles.Left)
            | System.Windows.Forms.AnchorStyles.Right)));
            int x, y;
            x = padre.ClientSize.Width;
            y = padre.ClientSize.Height;
            this.Size = new System.Drawing.Size(x - 30, y - 240);
            this.AutoScroll = true;
            this.TabIndex = 5;
        }
        public void recalculateSize(Form padre){
            int x = padre.ClientSize.Width;
            int y = padre.ClientSize.Height;
            this.Size = new System.Drawing.Size(x - 30, y - 240);
        }
    }
}
